<?php

ob_start();

include_once "../connect.php";
// รับค่ามาเก็บไว้ในตัวแปร 
$alt_Id = $_GET["alt_Id"];

$sql = "DELETE FROM altcomservice  WHERE alt_Id = $alt_Id";
mysql_query($sql);
$sql1 = "DELETE FROM altcomservice  WHERE alt_Id = $alt_Id";
mysql_query($sql1);
$sql2 = "DELETE FROM altcomservice  WHERE alt_Id = $alt_Id";
mysql_query($sql2);


if (mysql_query) { 
     header("location:altServiceCom.php");
}
else {
    echo mysql_error();
}
?>
